package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface AdulterlinkDAO extends JpaDao<Adulterlink> {

	public Adulterlink findAdulterlinkById(Integer id) throws DataAccessException;

	public Adulterlink findAdulterlinkById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByName(String name) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByNameContaining(String name_1) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByDescription(String description) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Adulterlink findAdulterlinkByPrimaryKey(Integer id) throws DataAccessException;

	public Adulterlink findAdulterlinkByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinksByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Adulterlink> findAllAdulterlinks() throws DataAccessException;

	public Set<Adulterlink> findAllAdulterlinks(int startResult, int maxRows) throws DataAccessException;

	public Set<Adulterlink> findAdulterlinkByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Adulterlink> findAdulterlinksByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Adulterlink findAdulterlinkByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Adulterlink findAdulterlinkByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
